package com.ali;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * EnableFeignClients：开启OpenFeign
 * EnableDiscoveryClient：开启服务注册
 */
@EnableFeignClients
@EnableDiscoveryClient
@SpringBootApplication
public class Order1001ConsulGatewayMain {
    public static void main(String[] args) {
        SpringApplication.run(Order1001ConsulGatewayMain.class, args);
    }
}